<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voodoo Shader Framework: VoodooShader::DirectX9::Adapter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespace_voodoo_shader.html">VoodooShader</a>::<a class="el" href="namespace_voodoo_shader_1_1_direct_x9.html">DirectX9</a>::<a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html">Adapter</a>
  </div>
</div>
<div class="contents">
<h1>VoodooShader::DirectX9::Adapter Class Reference</h1><!-- doxytag: class="VoodooShader::DirectX9::Adapter" --><!-- doxytag: inherits="VoodooShader::Adapter" -->
<p><code>#include &lt;<a class="el" href="_d_x9___module_8hpp_source.html">DX9_Module.hpp</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_voodoo_shader_1_1_adapter.html">VoodooShader::Adapter</a>.</p>
<div class="dynheader">
Collaboration diagram for VoodooShader::DirectX9::Adapter:</div>
<div class="dynsection">
<div class="center"><img src="class_voodoo_shader_1_1_direct_x9_1_1_adapter__coll__graph.png" border="0" usemap="#_voodoo_shader_1_1_direct_x9_1_1_adapter_coll__map" alt="Collaboration graph"/></div>
<map name="_voodoo_shader_1_1_direct_x9_1_1_adapter_coll__map" id="_voodoo_shader_1_1_direct_x9_1_1_adapter_coll__map">
<area shape="rect" id="node2" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given..." alt="" coords="153,5,313,35"/><area shape="rect" id="node4" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework." alt="" coords="349,101,491,131"/><area shape="rect" id="node6" href="class_voodoo_shader_1_1_material_manager.html" title="Manager class to simplify loading and using material (texture&#45;bound) shaders." alt="" coords="315,309,525,339"/><area shape="rect" id="node8" href="class_voodoo_shader_1_1_shader.html" title="VoodooShader::Shader" alt="" coords="343,197,497,227"/><area shape="rect" id="node18" href="class_voodoo_shader_1_1_fullscreen_manager.html" title="Manager class to simplify loading and unloading fullscreen (post&#45;processing) shader..." alt="" coords="521,197,745,227"/><area shape="rect" id="node13" href="class_voodoo_shader_1_1_logger.html" title="Logfile management class, capable of opening, closing, writing to and dumping log..." alt="" coords="443,5,597,35"/><area shape="rect" id="node15" href="class_voodoo_shader_1_1_formatter.html" title="Logging Format class." alt="" coords="515,101,685,131"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_voodoo_shader_1_1_direct_x9_1_1_adapter-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#adacd3a0db50850e97a17317243adbfda">Adapter</a> (<a class="el" href="class_voodoo_shader_1_1_core.html">Core</a> *core, IDirect3DDevice9 *device)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a9d76c1c1cc667d645aa7f666faa3eb4c">Apply</a> (<a class="el" href="class_voodoo_shader_1_1_parameter.html">Parameter</a> *param)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a5e4fcac36d88d35c37398d6699f8d332">Bind</a> (<a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> *shader)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a07db001620d4d92d444f30096a30a789">DrawFSQuad</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#aab823bb03fcfd6879c6c3c4cb76d17a2">HandleError</a> (CGcontext context, CGerror error, void *core)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a4cd316e51e7d817ba883a02ba787d4a9">Unbind</a> ()</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_core.html">Core</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a62469aa8960a283a2d2a2482ed162d96">mCore</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">IDirect3DDevice9 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a82f31841c7c3e62ec91dbd8483fa3d38">mDevice</a></td></tr>
</table>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adacd3a0db50850e97a17317243adbfda"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::Adapter" ref="adacd3a0db50850e97a17317243adbfda" args="(Core *core, IDirect3DDevice9 *device)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VoodooShader::DirectX9::Adapter::Adapter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_voodoo_shader_1_1_core.html">Core</a> *&nbsp;</td>
          <td class="paramname"> <em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IDirect3DDevice9 *&nbsp;</td>
          <td class="paramname"> <em>device</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a9d76c1c1cc667d645aa7f666faa3eb4c"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::Apply" ref="a9d76c1c1cc667d645aa7f666faa3eb4c" args="(Parameter *param)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::DirectX9::Adapter::Apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_voodoo_shader_1_1_parameter.html">Parameter</a> *&nbsp;</td>
          <td class="paramname"> <em>param</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_voodoo_shader_1_1_adapter.html#a85e10c37608dc4463a4527d48f49c31a">VoodooShader::Adapter</a>.</p>

</div>
</div>
<a class="anchor" id="a5e4fcac36d88d35c37398d6699f8d332"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::Bind" ref="a5e4fcac36d88d35c37398d6699f8d332" args="(Shader *shader)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::DirectX9::Adapter::Bind </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> *&nbsp;</td>
          <td class="paramname"> <em>shader</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Bind the shader here, need to apply params and set up textures </dd></dl>
</p>

</div>
</div>
<a class="anchor" id="a07db001620d4d92d444f30096a30a789"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::DrawFSQuad" ref="a07db001620d4d92d444f30096a30a789" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::DirectX9::Adapter::DrawFSQuad </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_voodoo_shader_1_1_adapter.html#a1c051e45546aee0ad739dfaef00ba9cd">VoodooShader::Adapter</a>.</p>

</div>
</div>
<a class="anchor" id="aab823bb03fcfd6879c6c3c4cb76d17a2"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::HandleError" ref="aab823bb03fcfd6879c6c3c4cb76d17a2" args="(CGcontext context, CGerror error, void *core)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::DirectX9::Adapter::HandleError </td>
          <td>(</td>
          <td class="paramtype">CGcontext&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CGerror&nbsp;</td>
          <td class="paramname"> <em>error</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>core</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="class_voodoo_shader_1_1_adapter.html#a863786fb2f968de4146f9a11c3fade04">VoodooShader::Adapter</a>.</p>

</div>
</div>
<a class="anchor" id="a4cd316e51e7d817ba883a02ba787d4a9"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::Unbind" ref="a4cd316e51e7d817ba883a02ba787d4a9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::DirectX9::Adapter::Unbind </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implements <a class="el" href="class_voodoo_shader_1_1_adapter.html#ae2ee3aa591d310b1171cd22fe3cd70d3">VoodooShader::Adapter</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a62469aa8960a283a2d2a2482ed162d96"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::mCore" ref="a62469aa8960a283a2d2a2482ed162d96" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_core.html">Core</a>* <a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a62469aa8960a283a2d2a2482ed162d96">VoodooShader::DirectX9::Adapter::mCore</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a82f31841c7c3e62ec91dbd8483fa3d38"></a><!-- doxytag: member="VoodooShader::DirectX9::Adapter::mDevice" ref="a82f31841c7c3e62ec91dbd8483fa3d38" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">IDirect3DDevice9* <a class="el" href="class_voodoo_shader_1_1_direct_x9_1_1_adapter.html#a82f31841c7c3e62ec91dbd8483fa3d38">VoodooShader::DirectX9::Adapter::mDevice</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>K:/VoodooShader/DX9_Module/<a class="el" href="_d_x9___module_8hpp_source.html">DX9_Module.hpp</a></li>
<li>K:/VoodooShader/DX9_Module/<a class="el" href="_d_x9___module_8cpp.html">DX9_Module.cpp</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Oct 14 23:19:07 2010 for Voodoo Shader Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
